﻿using UnityEngine;
using System.Collections;

public class BackToMainMenuButton : MonoBehaviour {

	// Use this for initialization
	void Start () {
		
	}
	
	void OnMouseEnter()
	{
		renderer.material.color = Color.red;
	}
	
	void OnMouseExit()
	{
		renderer.material.color = Color.white;
	}
	
	void OnMouseUp()
	{

			Application.LoadLevel(0);	
		
	}
}
